package com.aizhixin.lab.project.template.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity(name = "t_knowledge_point")
public class KnowledgePoint {
    @Id
    private String id;
    @Column(name = "module_task_id")
    private String moduleTaskId;
    @Column(name = "course_id")
    private String courseId;
    @Column(name = "chapter_id")
    private Long chapterId;
    @Column(name = "minutia_id")
    private Long minutiaId;
    @Column(name = "type")
    private Integer type;
    @Column(name = "link")
    private String link;
    @Column(name = "knowledge_point")
    private String knowledgePoint;
    @Column(name = "grade")
    private Integer grade=100;
    @Column(name = "created_date",insertable = false)
    private Date createdDate;
}
